package com.lmax.disruptor.demo;

import com.lmax.disruptor.EventHandler;

public class LongEventHandler implements EventHandler<LongEvent>
{

    @Override
    public void onEvent(final LongEvent longEvent, final long l, final boolean b) throws Exception
    {
        //消费，数据处理
        System.out.println(longEvent.getValue());
    }

}